import Vue from 'vue'
import Vuex from 'vuex'
import App from './App.vue'
import router from './router/router'
import store from './store'
import axios from "axios";
import qs from 'qs';
//引入mini-ui
import MintUI from 'mint-ui'
//引入css
import 'mint-ui/lib/style.css'
//使用mini-ui
Vue.use(MintUI)
Vue.use(Vuex)
//引入Element组件
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import {postRequest,getRequest} from "./utils/api";
Vue.use(ElementUI)
Vue.prototype.$qs=qs;
Vue.config.productionTip = false
Vue.prototype.postRequest=postRequest;
Vue.prototype.getRequest=getRequest;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store
}).$mount('#app')
